package com.springboot.admin.mapper;

import com.springboot.admin.entity.WebStatsDto;

import java.util.List;
import java.util.Map;

public interface WebStatsDao {

  public void insertWebStats(WebStatsDto webStatsDto);

  public int getViewsByDate();

  public int getViewsByIp();

  public List<Map> getDeviceType();

  public List<Map> getDeviceRatio();

  public List<Map> getBrowserType();

  public void saveEveryDayViews(Map map);

  public void delExistViews();

  public List<Map> getEveryDayViews();

  public Map getSomeDayViews(String date);

}